#include<stdio.h>
void reverse(int *array, int n);
int main(void){
	int n;
	scanf("%d",&n);
	int arr[1000],i;
	for(i=0;i<n;i++){
		scanf("%d",&arr[i]);
	}
	reverse(arr,n);
	for(i=0;i<n;i++){
		printf("%d",arr[i]);
		if(i!=n-1) printf(" ");
	}
	return 0;
}
void reverse(int *array, int n){
	int temp,i;
	for(i=0; i<(n+1)/2; i++){
		temp = array[i];
		array[i] = array[n-i-1];
		array[n-i-1] = temp;
	}
}

